Cloudinary\Media D

Total Complexity 231
Dependencies 10
Dependents 9
Total lines 1,896
Lines of code 992
Logical lines of code 543
Comment lines 707
Methods 60
Properties 13

Methods 60

Method Rating Maintainability Complexity Lines of code
image_srcset()
A
41 13 58
cloudinary_url()
A
48 11 31
apply_default_transformations()
A
45 9 42
get_size_from_url()
A
50 10 27
prepare_size()
A
51 10 26
down_sync_asset()
A
43 8 48
get_id_from_url()
A
47 8 34
filter_downsize()
A
51 8 28
get_breakpoint_options()
A
48 7 32
media_column_value()
S
49 7 30
get_asset_payload()
S
45 6 44
get_crop_from_transformation()
S
51 7 29
get_crop()
S
51 7 27
cloudinary_id()
S
55 7 19
attachment_url()
S
58 6 16
get_max_width()
S
52 5 25
get_transformations_from_string()
S
56 5 17
get_cloudinary_id()
S
56 4 17
get_post_meta()
S
58 4 15
get_public_id()
S
59 4 14
create_attachment()
S
50 3 28
setup()
S
51 3 24
get_id_from_sync_key()
S
54 3 21
get_context_options()
S
55 3 18
get_upload_options()
S
55 3 18
delete_post_meta()
S
65 4 8
sanitize_breakpoints()
S
63 4 10
update_post_meta()
S
61 3 12
editor_assets()
S
53 2 23
sanitize_cloudinary_folder()
S
68 3 7
is_media()
S
64 3 9
balance_crop()
S
63 3 10
get_transformation()
S
67 3 8
set_transformation()
S
65 3 9
maybe_overwrite_featured_image()
S
67 3 7
convert_media_extension()
S
62 2 11
media_column()
S
61 2 11
get_convertible_extensions()
S
54 1 23
get_linked_attachments()
S
57 1 17
maybe_srcset_post_thumbnail()
S
67 2 8
set_doing_featured()
S
74 2 5
get_cloudinary_version()
S
73 2 4
upgrade_media_settings()
S
67 2 8
is_folder_synced()
S
66 2 8
build_cached_meta()
S
68 2 7
convert_url()
S
68 2 7
get_transformation_from_meta()
S
68 2 7
is_cloudinary_url()
S
66 2 8
get_cloudinary_folder()
S
69 2 7
uncropped_url()
S
62 2 10
is_file_compatible()
S
63 2 9
media_template()
S
79 1 7
get_compatible_media_types()
S
67 1 9
has_public_id()
S
77 1 3
upload_dir()
S
76 1 4
get_media_type()
S
80 1 3
get_file_type()
S
71 1 5
apply_srcset()
S
67 1 7
is_preview_only()
S
65 1 9
__construct()
S
75 1 4